--[[
File: WoWProInit.lua
Author: Jahwo
Last Change: xx.xx.xxxx xx:xx

Summary: Initialization
]]--



-- Everything in this table will be saved per Character
WoWProSettings = {}

WoWProSettings.MainFrame = {}
WoWProSettings.MainFrame.width = 200
WoWProSettings.MainFrame.height = 300
WoWProSettings.MainFrame.x = 100
WoWProSettings.MainFrame.y = 100

WoWProSettings.Guide = "NoGuide"
WoWProSettings.Step = 1

-- the "addon-object"
WoWPro = {}
WoWPro.IsLoaded = false
WoWPro.EventHandler = CreateFrame("Frame", nil, nil, nil)			-- a Frame that Handles Events
WoWPro.Guides = {}
WoWPro.StepFrames = {}

-- stepFrames dragging
WoWPro.lastYPos = 0
WoWPro.StepsDragging = false

-- register Events
WoWPro.EventHandler:RegisterEvent("ADDON_LOADED")



--[[		Inititalizes the Addon		]]--
function WoWPro:Initialize()	
	if not WoWPro.IsLoaded then 			-- avoid redundancy
		--WoWPro:MainFrameCreate()
	
	
	end
	WoWPro.IsLoaded = true
end 



--[[		Adds a new Guide		]]--
function WoWPro:AddGuide(guide)
	WoWPro:Parse(guide)
end 